package xyz.lwm.lazycat.jdbc.exec;

import org.jetbrains.annotations.NotNull;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

/**
 * create prepared statement
 *
 * @author lwm
 */
@FunctionalInterface
public interface PreparedStatementCreator {

    @NotNull PreparedStatement createPreparedStatement(@NotNull Connection con) throws SQLException;

}